Hi,

This morning, we transfered 2 R files into Git because someone else is going to 
work with me. A file is the 'main script' and the second contains the functions.
I had problem with the encoding of this second file : French accent were 
replaced by question mark. Without Git, I could 'reopen with encoding' but with 
Git, it doesn't work. I tried a lot of things in vain. At the end, I deleted 
the whole content of the file and paste in it a copy of the same file but in my 
own directory after a reopen with encoding. I save and commit all; Quit R; 
restart the PC and open the Git project : all seems ok.

I have asked a question about 'starting directory' but waiting for an answer I 
write the directory name in the code like :

Source(c:/RepoGit/ ..../plateforme.r)

But when this line is executed a bomb appears.
I tried to add a encoding clause : in vain

I looked at the windows rights, they are the same for both files ...

I added a test.r file in the directory, I can 'source' it ...

The second person can source the second file on her PC,

I'am lost ! If someone has an idea ...

Jean



Ce message et toutes les pièces jointes (ci-après le 'Message') sont établis à 
l'intention exclusive des destinataires et les informations qui y figurent sont 
strictement confidentielles. Toute utilisation de ce Message non conforme à sa 
destination, toute diffusion ou toute publication totale ou partielle, est 
interdite sauf autorisation expresse.

Si vous n'êtes pas le destinataire de ce Message, il vous est interdit de le 
copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si 
vous avez reçu ce Message par erreur, merci de le supprimer de votre système, 
ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support 
que ce soit. Nous vous remercions également d'en avertir immédiatement 
l'expéditeur par retour du message.

Il est impossible de garantir que les communications par messagerie 
électronique arrivent en temps utile, sont sécurisées ou dénuées de toute 
erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the 
addressees. The information contained in this Message is confidential. Any use 
of information contained in this Message not in accord with its purpose, any 
dissemination or disclosure, either whole or partial, is prohibited except 
formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any 
part of it. If you have received this message in error, please delete it and 
all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or 
virus-free.
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to