开发者

Rapache, can not use passed argument

i used boxcox transformation and got a numeric variable lambda, but i can not read it in the next page, if i do: lambda<-GET$lambda i can开发者_Python百科 not later read the variable "lambda" important to mention that the operation fails when between <%,%>, but in HTML or php it works, does anyone have a solution?

The Code:

<?php
echo $_GET[lambda]; <!!!!!This echo command work OK!!!!!>
if (isset($_GET["check_if_press"]) && $_GET["check_if_press"] == "Submit"){ 
if($_GET[clean_decide]=="yes") {
echo"
<%
csvDF<- read.csv(GET$name1, header=TRUE)
lambda<-GET$lambda <!!!!! This 2 lines create an error!!!!!!>
print(lambda)
k<-1
CleanLots<-NULL
Removed<-NULL
a<-NULL
i<-1
.
.
.
%>
";
}else {echo "no";}
}
?>

Yonatan Shalev


Hard for me to test because your setup isn't replicable, but did you mean

lambda <- $_GET[lambda]

As I mentioned in your previous questions: in order for you to stop having errors that you can't track down every five minutes, you need to separate the different tasks in your code. That way you can determine if the problem is with rApache or your plain R code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜