search for: essai

Displaying 20 results from an estimated 42 matches for "essai".

Did you mean: essay
2007 Jul 17
4
[R-sig-DB] RODBC on Oracle DB
essai <- odbcConnect("ORESTE_prod", uid="osis_r", pwd="12miss15" ,case="oracle") > sqlTables(essai)$ORESTE ... 1315 <NA> ORESTE S_PROFESSIONS_OLD TABLE <NA> 1316 <NA> ORESTE S_...
2012 Nov 16
2
How to create as.numeric.xxx
I would like to create a function to convert data based on a class using as.numeric Similarly, using a plot, I do: plot.essai <- function(x, ...) {return(x*2)} d <- 10 class(d) <- "essai" plot(d) It works: [1] 20 attr(,"class") [1] "essai" Now same with as.numeric: as.numeric.essai <- function(x, ...) {return(x*2)} as.numeric(d) It does not work: [1] 10 Is it possible ? Th...
2012 Aug 08
2
Exec resource don't write file after the command
Hi all, I''m trying to have the exec resource write a file after the command but it don''t. here is the resource declaration class gepet { notify { ''begin'':} file { ''/root/essai/html'': ensure => present, content => "Wrote By Yves Nton", notify => Exec[''test''], } exec { ''test'': path => "/usr/bin:/usr/sbin:/bin", cwd => "/root/essai", command => "rm -rf /root/essai/html",...
2004 Mar 31
3
scan seems to modify the data
Hello list, I have used scan function to import data into R. I have done some analysis and find strange results. I have found my problem : when importing data with scan, this can slightly modify the data : > write(c(0.251,3.399,-0.481,0.266),"essai.txt") > scan("essai.txt") Read 4 items [1] 0.251 3.399 -0.481 0.266 > print(scan("essai.txt"),17) Read 4 items [1] 0.25100000000000000 3.39900000000000000 -0.48099999999999998 0.26600000000000001 Is it normal ? Is it a bug ? thanks in advance, Sincerely....
2011 Dec 02
2
Problem with loop
..., I try to build a loop difficultly. I have in a folder called Matrices several files (.csv) called Mat2002273, Mat2002274 to Mat2002361. I want to calculate for each file the mean of the column called Pixelvalues. I try this code but as result, I have this message: Mat2002273 not found >essai<-read.table("C:\\Users\\Desktop\\Matrices\\Mat2002273.csv",sep=";",dec=",",header=TRUE) >essai >a <- NULL >for(i in Mat2002273:Mat2002361){ >paste(mean(essai$Pixelvalues)) >a[i] <- paste(mean(essai$Pixelvalues)) >print(a[i]) >} Thank you...
2003 Apr 29
0
calling R from PHP and saving outputs
...re about the "open" option I used (see R script). Does anyone have an idea about why the connection/file cannot be opened ? I checked I had the rights on the directory. I give you my PHP main file and my R script below. Thanks in advance for any help. Laurent _ PHP :_ <?php class Essai { var $RPath; // path to R executable var $sortie; // display function Essai() { $this->RPath = "/usr/lib/R/bin/R"; $this->sortie = $this->calcul(); } function calcul() { $cmd = <<<EOD echo 'source("commande.R"...
2005 Dec 27
2
Create pdf and postscript files
Hello, I would like to learn how to create a pdf and a postscript file from an R graphic. For example, I tried : plot(1) # example pdf("H:/Perso/essai.pdf") postscript("H:/Perso/essai.ps") But the pdf document created is empty. How do these functions work ? Thank you very much. -- David Hajage Interne de santé publique Institut Curie [[alternative HTML version deleted]]
2009 Jun 18
2
Argument as.integer(NA) to a function C
Hi the list, I am writing a R function that call a C function. The C function needs integers but I do not manage to give a NA integer as argument : --- C code --- void essai(int *t){ Rprintf("\nT0=%i T1=%i T2=%i T3=%i",t[0],t[1],t[2],t[3]); } --- R --- boub <- c(1,2,3,4) .C("pour",as.integer(boub),NAOK=TRUE) # T0=1 T1=2 T2=3 T3=4[[1]] # [1] 1 2 3 4 boub <- c(1,2,NA,4) .C("essai",as.integer(boub),NAOK=TRUE) # T0=1 T1=2 T2=-214...
2008 Apr 13
1
R 2.7 package.skeleton
Hi the devel list I am testing package.skeleton in R 2.7 (download today). I get an error that I do not understand. I guess it is not an error from my code since I have no probleme when I source it. So is it a error in package.skeleton? Here is my code : --- 8< ------ File essai.r ------------- setClass( Class="ClusterizLongData", representation=representation( clusterizS="list" ), prototype=prototype( clusterizS=list(c2=list(),c3=list()) ) ) --- 8< --------------------------------- package.skeleton("kmt",code_fil...
2016 Sep 07
2
ACL wrong category user for group and group for user
...ent\ texte.txt getfacl : suppression du premier « / » des noms de chemins absolus # file: Fichiers/SA/Nouveau document texte.txt # owner: ciril # group: utilisa.\040du\040domaine user::rwx user:utilisa.\040du\040domaine:r-x user:karine.hasani:r-x user:sa-si:rwx user:sa-cp:r-x user:john.doe:r-x user:essai:r-x group::r-x group:utilisa.\040du\040domaine:r-x group:karine.hasani:r-x group:ciril:rwx group:sa-si:rwx group:sa-cp:r-x group:john.doe:r-x group:essai:r-x mask::rwx other::--- In the above example I created the user essai on the AD one minute ago... Good things! with setfacl I can't set a...
2007 Jul 20
8
Wx::StaticText
Salut alex. J''ai une question a propos de wx::statictext(wxruby2) est-il possible de mettre les accents pour la langue française?, car pour l''instant je ne peut pas mettre l''accentuation alors que ça marche bien avec "wxruby". merci Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2006 May 24
2
median of a survfit object
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible Url : https://stat.ethz.ch/pipermail/r-help/attachments/20060524/312404be/attachment.pl
2012 Mar 18
3
assign a value to an element
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?... Nom : non disponible URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20120318/d68edf35/attachment.pl>
2016 Sep 07
2
ACL wrong category user for group and group for user
Le 05/09/2016 à 10:23, Rowland Penny via samba a écrit : > On Mon, 5 Sep 2016 09:38:56 +0200 > Sam via samba <samba at lists.samba.org> wrote: > >> Hello, >> >> If I try to set acl under windows, something very strange appears. >> >> For instance, if I set something for the user samuel I get this with >> the command getfacl : >>
2006 Nov 11
1
Install bioconductor
...ion 2.4.0 Your version of R requires version 1.9 of Bioconductor. Avis dans install.packages(pkgs = pkgs, repos = repos, dependencies = dependencies, : argument 'lib' is missing: using /usr/local/lib/R/site-library also installing the dependencies 'affy', 'affyio' essai de l'URL ' http://bioconductor.org/packages/1.9/bioc/src/contrib/affy_1.12.1.tar.gz' Content type 'application/x-gzip' length 1370295 bytes URL ouverte ================================================== downloaded 1338Kb essai de l'URL ' http://bioconductor.org/packages...
2012 Jan 12
2
defmacro installation issue
Hi everybody, I want to use macro in my R code. But defmacro was not in my libraries. So I installed it : > install.packages("gtools") Installing package(s) into ?C:/Program Files/R/R-2.13.2/library? (as ?lib? is unspecified) essai de l'URL 'http://cran.cict.fr/bin/windows/contrib/2.13/gtools_2.6.2.zip' Content type 'application/zip' length 102500 bytes (100 Kb) URL ouverte downloaded 100 Kb package 'gtools' successfully unpacked and MD5 sums checked The downloaded packages are in C:\Documents a...
2006 Dec 22
2
Pb with R.matlab
...Rgui). It seems that, even after loading the package, the "simple" functions such as writeMat() or readMat() are not recognized. For example, the following script leads to an error: > install.packages("R.matlab") --- Please select a CRAN mirror for use in this session --- essai de l'URL 'http://cran.miroir-francais.fr/bin/windows/contrib/2.3/R.matlab_1.1.2.zip' Content type 'application/zip' length 177859 bytes URL ouverte downloaded 173Kb package 'R.matlab' successfully unpacked and MD5 sums checked The downloaded packages are in C...
2006 Feb 05
0
newbie : mapping problem between linux and samba users
...s a problem with a share secret between the window host and the server but which secret ? a secret for trusted domain ?????? no relation with my problem !!!) : [[2006/02/03 15:53:35, 5] auth/auth_util.c:make_user_info_map(224) make_user_info_map: Mapping user [GII]\[steph] from workstation [ESSAI] [2006/02/03 15:53:35, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/02/03 15:53:35, 3] smbd/uid.c:push_conn_ctx(365) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/02/03 15:53:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stac...
2009 Feb 28
1
gpxelinux and dhcp
Hello, I'm playing with gpxelinux, it's works but ... In my dhcpd.conf I have the traditional: option space gpxelinux; option gpxelinux-encap-opts code 175 = encapsulate gpxelinux; option gpxelinux.bus-id code 177 = string; subnet 192.168.0.0 netmask 255.255.255.0 { host essai { hardware ethernet 00:11:22:33:44:55; fixed-address 192.168.0.62; if not exist gpxelinux.bus-id { filename "gpxelinux.0"; } else { filename "http://192.168.0.61/memtest.smp"; } } } gpwelinux info appears, and it redirect, not to memtes...
2002 Sep 30
1
Password authentication in a script
...archives and the man pages: i have create a rsyncd.secret like this: rsync:thePassword Here is my rsyncd.conf file: [rsync] path=/ uid=nobody gid=nobody auth users=rsync secrets file=/etc/rsyncd.secret Here is my batch file on windows: rsync251-2 -e ssh -av rsync@192.168.1.2:/var/www/ e:\essai I am always asked the password ! What is the problem ? Thanks. Franck ------------------------------------------ Faites un voeu et puis Voila ! www.voila.fr