Skip to content
Back to formatted view

Raw Message

Message-ID: <54A572D6-5EB6-4278-A827-AA4F1C300169@xs4all.nl>
Date: 2012-09-06T16:41:24Z
From: Berend Hasselman
Subject: Why the error is coming, can anyone help?
In-Reply-To: <62A39C2D035EAF4F96EFA28C9B83F6834BBF725C@MX02.gvkbio.com>

On 06-09-2012, at 08:54, Sri krishna Devarayalu Balanagu wrote:

> Hi everyone
> Can anyone help?
> 
> x = c("Treatment", "Planned", "Actual", "Demographics", "Outcomes")
> for (i in x) {
> df <- paste(i)[, c("Reference_ID", "Arm_ID")]
> unique(df) -> uniq
> as.data.frame(table(uniq$Reference_ID)) -> y
> i.Arms<- paste(y$Var1, y$Freq, sep="_")
> Print_Message("Check for the Total No of Arms in Trial_level_info and print(i) sheet", Trial.Arms, print(i).Arms, "Trial level sheet", "print(i) sheet")
> }
> 
> Error: unexpected symbol in:
> "i.Arms<- paste(y$Var1, y$Freq, sep="_")
> Print_Message("Check for the Total No of Arms in Trial_level_info and print(i) sheet", Trial.Arms, print(i).Arms"

print(i).Arms is the culprit.
It probably should be  print(i.Arms)

> Visit us at Booth No. 5 at 2012 ChemOutsourcing Conference, 10-13 Sept 2012, Ocean Place Resort - Long Branch, NJ, United States
> 
> Visit us at Booth No. 4 at World Conference on Pharmacometrics, 5-7 Sept 2012, Grand Hilton Hotel, Seoul, Korea


Please leave out the commercials.

Berend