
Hello. I'm a newbie here.
In my script (I name it readData.R), I wrote the followings:
readData <-function(){	med = read.csv("medicalData.csv");}
Then I tested the script by 'Source R Code' then on the command I typed 'readData()' then I typed 'med' to check if the variable contains the medical data but it returned 'Object med is not found'. What did I do wrong? Please help.
Cheers,Suhaila 		 	   		  
	[[alternative HTML version deleted]]

